-
Notifications
You must be signed in to change notification settings - Fork 28.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SPARK-27744][SQL] preserve spark properties on async subquery tasks #24625
Conversation
@gatorsmile curious to hear your thoughts about this |
friendly ping @gatorsmile |
friendly ping @gatorsmile |
ok to test |
Test build #106204 has finished for PR 24625 at commit
|
@gatorsmile do you have any comments? should I tag anyone else for review? thanks! |
friendly ping on above @gatorsmile |
## Upstream SPARK-XXXXX ticket and PR link (if not applicable, explain) https://issues.apache.org/jira/browse/SPARK-27744 apache#24625 ## What changes were proposed in this pull request? preserve spark properties on subquery exec tasks ## How was this patch tested? unit tests
friendly ping on above @gatorsmile |
Can one of the admins verify this patch? |
We're closing this PR because it hasn't been updated in a while. If you'd like to revive this PR, please reopen it! |
What changes were proposed in this pull request?
Add a new future helper method that copies over spark properties before submitting to a new thread, and sets the original properties back on exit. SubqueryExec now uses this method to create futures. Any task that is submitted to its thread pool will now use the spark properties of the submitting thread, instead of the spark properties that were on the thread pool worker thread
How was this patch tested?
Added a test, which fails with current master but passes with this patch